import { NavBar, Button } from 'antd-mobile'
import { useNavigate } from 'react-router-dom'
import './index.css'

export default function AcceptanceResult() {
  const navigate = useNavigate()

  return (
    <div className="accres-page">
      <NavBar back onBack={() => navigate(-1)}>
        接房结果
      </NavBar>

      <div className="accres-body">
        <div className="accres-icon">✓</div>
        <div className="accres-title">确认接房</div>
        <div className="accres-sub">发送房屋信息给客户</div>
      </div>

      <div className="accres-bottom">
        <Button className="accres-btn" onClick={() => navigate('/acceptance')}>
          返回列表
        </Button>
      </div>
    </div>
  )
}
